//
// Created by deepin on 2020/11/12.
//
#include <iostream>
#include "stock10.h"
/*
int main ()
{
    {
        using std::cout;
        cout << "Using constructors to create new objects\n";
        Stock1 stock1("NanoSmart",12,20.0); // 调用有参构造初始化
        stock1.show();
        Stock1 stock2("Boffo Objects",2,2.0);
        stock2.show();
        cout << "Assigning stock1 to stock2:\n";
        stock2 = stock1;
        cout << "Listing stock1 and stock2:\n";
        stock1.show();
        stock2.show();
        cout << "Using a constructor to reset an object\n";
        stock1 = Stock1("Nifty Foods",10,50.0);
        cout << "Revised stock1:\n";
        stock1.show();
        cout << "Done\n";
  }
  return 0;
}*/
